package org.chen.model.domain;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author: 陈亮
 * @Date: 2019/3/24 14:06
 */
@Entity
@Table(name = "sys_user_role")
@Data
@ToString
public class UserRole {
    @Id
    private Integer id;
    @Column(name = "user_id")
    private Integer userId;
    @Column(name = "role_id")
    private Integer roleId;
}
